//
//  BaseViewController.h
//  HealthCompass
//
//  Created by Harry on 15/4/8.
//  Copyright (c) 2015年 bhrw. All rights reserved.
//

#import <UIKit/UIKit.h>

/**基础视图控制器类*/
@interface BaseViewController : UIViewController
<UIGestureRecognizerDelegate,UINavigationControllerDelegate> {
    UIButton* btnBack;
}


@property CATransform3D starTrans;

-(void)setNavigationTitle:(NSString *)title;
-(void)setNavigationTitle:(NSString *)title Color:(UIColor *)color;

-(UIBarButtonItem*)addLeftNavigationBarButtonImage:(NSString *)image Title:(NSString *)title Target:(id)target Action:(SEL)action;
-(UIBarButtonItem*)addRightNavigationBarButtonImage:(NSString *)image Title:(NSString *)title Target:(id)target Action:(SEL)action;
-(void)endEdit;
-(void)goBack;

- (void)addLeftButtons:(NSArray<UIBarButtonItem *> *)buttonsArray;
- (void)addRightButtons:(NSArray<UIBarButtonItem *> *)buttonsArray;



@end
